package com.csj.eurekafeign.service;

import org.springframework.stereotype.Component;

/**
 * @Author:ChengshaoJie
 * @Description:
 * @Date:Created in 下午 5:32 2019/4/22 0022
 */
@Component
public class FeignServiceHiHystricImpl implements FeignServiceHi {
    /**
     * 由于接口上有断路由注解，所以一旦接口远程服务失败，则执行此实现类方法
     * */
    @Override
    public String sayHiFromClientOne(String name) {
        return "sorry "+name;
    }
}
